package com.qiwenshare.file.dingding.service;

import com.qiwenshare.file.domain.dept.DeptBean;
import com.qiwenshare.file.domain.user.UserBean;

import java.util.List;
import java.util.Map;

public interface IDingdingSynService {
    // 同步部门方法
    public String synchronizeDept(List<DeptBean> DeptBeanList);

    // 同步用户方法
    String synchronizeUser(List<UserBean> users);

    void recursionTree(Long pDeptId, List<DeptBean> treeList, Map<Long, DeptBean> longDeptBeanMap);

    void userEventDeal(String eventType, List<UserBean> user);

    void deptEventDeal(String eventType, List<DeptBean> addDept);
}
